package com.engine4cloud.tdf.supervision.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 其他工作人员
 *
 * @author wenjie
 * @date 2024-05-21 15:12:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "其他工作人员")
public class GzryOtherQueryDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 公务员编码
     */
    @Schema(description = "公务员编码")
    private String rybm;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String xm;

    /**
     * 性别
     */
    @Schema(description = "性别", example = "1")
    private String xb;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码", example = "13322222222")
    private String sj;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号", example = "610*****************")
    private String sfzh;

    /**
     * 所属部门id，初次加载时不能传部门id
     */
    @Schema(description = "所属部门id", example = "1")
    @NotNull(message = "所属部门id不能为空")
    private Long deptId;
}